package businessLogic.facade;

/**
 *
 * @author Alexander
 */
public class FacadeFactory {

    private static FacadeFactory instance;
    
    private FacadeFactory() {
        
    }
    
    public UserFacade getUserFacade(int id){
        return new UserFacade(id);
    }
    
    public static synchronized FacadeFactory getInstance(){
        if(instance == null){
            instance = new FacadeFactory();
        } 
        return instance;
    }

}
